<template>
	<swiper class="swiper" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
		<swiper-item v-for="item of bannerList" :key="item.bannerid">
			<view class="swiper-item">
				<image :src="item.img" mode=""></image>
			</view>
		</swiper-item>
	</swiper>
</template>

<script>
	export default {
		props: {
			bannerList: Array
		},
		name:"HomeBanner",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="stylus">
.swiper
	background-color #f66
</style>
